<div class="row">

    <div class="panel panel-info">
      <div class="panel-heading">
        <h3 class="panel-title">竞赛通知</h3>
      </div>
      <div class="panel-body">

        <foreach name="notifications" item="notification">
        <div>            
            <p>
            <a href="{:U('Article/index', array('id'=>$notification['id']))}">{$notification.title}</a>
            </p>

            <p>            
            <a href="" class="btn btn-default btn-sm">竞赛通知下载</a>
            <a href="" class="btn btn-default btn-sm">报名回执下载</a>
            <a href="" class="btn btn-default btn-sm">比赛规则下载</a>
            </p>
        </div>
        </foreach>

         
      </div>
    </div> 

    <div class="panel panel-info">
      <div class="panel-heading">
        <h3 class="panel-title">历届比赛</h3>
      </div>
      <div class="panel-body">
            <section>
            <a href="{:U('Article/index', array('id'=>$competition1['id']))}">{$competition1.title}</a>
            <br/>
            <p>{$competition1.description|sub_str=###,0,50}</p>
            </section>
            <hr>
            <ul class="list-unstyled">
                <foreach name="competitions" item="competition">
                    <li><a href="{:U('Article/index', array('id'=>$competition['id']))}">{$competition.title}</a></li>
                </foreach>
              
                <!--li><a href="">2015中国机器人竞赛暨ROBOCUP公开赛助老服</a></li-->
            </ul>
      </div>
    </div> 

</div>
